<p class="breadcrumbs"><strong>You are here:</strong> &raquo; <a href="<?php echo $gene_uri ?>"><?php _e($gene_name) ?></a> &raquo; <?php _e($profile['name']) ?></p>

<h2><?php _e($profile['name']) ?></h2>

<?php if (count($profile) > 1): ?>

	<p>
	<?php if ($profile['bio']): ?>
	<em><?php echo htmlentities(nl2br($profile['bio'])) ?></em><br /><br />
	<?php endif; ?>
	
	<?php if ($profile['gender']): ?>
		<strong>Gender:</strong> 
		<?php if ($profile['gender'] == "m"): ?>
			Male
		<?php else: ?>
			Female
		<?php endif; ?>
		<br />
	<?php endif; ?>
	
	<?php if ($profile['location']): ?>
		<strong>Location:</strong> <?php _e($profile['location']) ?><br />
	<?php endif; ?>
	
	<?php if ($profile['homepage']): ?>
		<strong>Webpage:</strong> <a href="<?php echo $profile['homepage'] ?>"><?php _e($profile['homepage']) ?></a><br />
	<?php endif; ?>
	
	<?php if ($profile['jabber']): ?>
		<strong>Jabber Instant Messaging Address:</strong> <?php _e($profile['jabber']) ?><br />
	<?php endif; ?>
	
	</p>

<?php endif; ?>

<h3>User Groups</h3>

<p><?php _e($profile['name']) ?> is a member of the following user groups:</p>

<ul>
<?php foreach ($groups as $i): ?>
	<li><?php _e($i['gname']) ?></li>
<?php endforeach; ?>
</ul>

<h3>Also known as...</h3>

<ul>
<?php foreach ($publicnames as $i): ?>
	<li><strong class="nickname"><?php _e($i['name']) ?></strong> (last used <abbr title="<?php echo makedate($i['timestamp']) ?>"><?php echo timeago($i['timestamp']) ?> ago</abbr>)</li>
<?php endforeach; ?>
</ul>


<p><a href="<?php echo Gene::xmlLink(Gene::userId($profile['name'])) ?>">
<img src="<?php echo $ui['images'] ?>foaf.gif" alt="FOAF Profile for <?php _e(ucfirst($profile['name'])) ?>" />
</a></p>